package com.zff.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zff
 * @since 2020-10-26
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="XstWxUser对象", description="")
public class XstWxUser implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "unionid，微信用户的唯一标识")
      @TableField("unionId")
    private String unionId;

      @ApiModelProperty(value = "openId")
      @TableField("openId")
    private String openId;

      @ApiModelProperty(value = "活动id")
      private Integer aid;

      @ApiModelProperty(value = "微信昵称")
      private String nickname;

      @ApiModelProperty(value = "微信头像url")
      @TableField("headImg_rul")
    private String headimgRul;

      @ApiModelProperty(value = "用户姓名")
      private String username;

      @ApiModelProperty(value = "电话")
      private String phone;

      @ApiModelProperty(value = "邮箱")
      private String email;

      @ApiModelProperty(value = "收货地址")
      private String shippingAddress;

      @ApiModelProperty(value = "性别")
      private String sex;

      @ApiModelProperty(value = "购买状态(0:未购买，1：已购买)")
      private String status;

      @ApiModelProperty(value = "学段(1：小学，2：初中，3：高中)")
      private String studySection;

      @ApiModelProperty(value = "年级(1-12)")
      private String grade;

      @ApiModelProperty(value = "学历")
      private String education;

      @ApiModelProperty(value = "指导老师")
      private String teacher;

      @ApiModelProperty(value = "教龄")
      @TableField("teacherAge")
    private Integer teacherAge;

      @ApiModelProperty(value = "职务")
      private String post;

      @ApiModelProperty(value = "职称")
      private String title;

      @ApiModelProperty(value = "工作单位")
      @TableField("workUnit")
    private String workUnit;

      @ApiModelProperty(value = "学校名称")
      private String schoolArea;

      @ApiModelProperty(value = "是否上传视频（0：未上传 1：上传)")
      private String isVideo;

      @ApiModelProperty(value = "是否上传文件（0：未上传 1：上传）")
      private String isFile;

      @ApiModelProperty(value = "声明（0：未声明 1：声明)")
      private String isVoice;

      @ApiModelProperty(value = "乐观锁")
      @Version
    private Integer version;

      @ApiModelProperty(value = "逻辑删除 0：正常  1：删除")
      @TableLogic
    private Integer deleted;

      @ApiModelProperty(value = "生日")
      private Date birthday;

      @ApiModelProperty(value = "创建时间")
        @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty(value = "修改时间")
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;


}
